$(document).ready(function() {
    var path = $("#webbPath").val();

    if(path == "/powergym/webb/") {
        base_url = "/powergym/index.php/";
        base_path = "/powergym/webb/admin/";
    }
    else {
        base_url = "/index.php/";
        base_path = "/webb/admin/";
    }

    settings = "settings";
    
});
  
